---
title: css选择器
date: '2023-08-28 21:49:01'
tags: ['css']
draft: false
summary: css选择器
---

#### 伪类选择器

- :first-child、:first-of-type
- :hover、:visited

#### 伪元素选择器

- ::first-line
- ::after、::before

#### 属性选择器

- \[width\]
